using System.ComponentModel.DataAnnotations;
using Framework.SqlDataAccess.Model;

namespace Kaysite.Model
{
    public class ServiceGroup : KaysiteModel
    {
        [DBMaping(PrimaryKey = true)]
        [Required]
        public int ServiceGroupID { get; set; }

        [DBMaping]
        [Required]
        [StringLength(512)]
        [DBFieldInfo(IsName = true)]
        public string GroupName { get; set; }

        [DBMaping]
        [Required]
        public eDisplayOption DisplayInMain { get; set; }
    
        public ServiceGroup()
        {
            DisplayInMain = eDisplayOption.Hide;
        }
    }
}